package com.newtouch.bxzs.common.base.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 通知信息与用户关联实体类
 *
 * <p>
 * <b>History:</b>
 * <table border="1">
 * <tr>
 * <th>Date</th>
 * <th>Operator</th>
 * <th>Memo</th>
 * </tr>
 * <tr>
 * <td>2020/12/22</td>
 * <td>liman</td>
 * <td>Create</td>
 * </tr>
 * </table>
 *
 * @author liman
 * @version 1.0.0
 * @since 1.0.0
 */
@Data
@TableName("ASSISTANT_NOTIFICATION_USER_MAP")
public class NotificationUserMap implements Serializable {

	/** serialVersionUID */
	private static final long serialVersionUID = -1901037945169999088L;

	/**
	 * 通知用户对应关系ID
	 */
	@TableId(value = "NOTIFICATION_USER_MAP_ID", type = IdType.ASSIGN_UUID)
	private String notificationUserMapId;

	/**
	 * 通知ID
	 */
	@TableField(value = "NOTIFICATION_ID")
	private String notificationId;

	/**
	 * 用户ID
	 */
	@TableField(value = "USER_ID")
	private String userId;

	/**
	 * 是否已读：是1；否0
	 */
	@TableField(value = "IS_READ")
	private Boolean readFlag;

	/**
	 * 创建用户ID
	 */
	@TableField(value = "CREATE_USER_ID")
	private String createUserId;

	/**
	 * 创建时间
	 */
	@TableField(value = "CREATE_TIME")
	private Date createTime;

	/**
	 * 修改用户ID
	 */
	@TableField(value = "UPDATE_USER_ID")
	private String updateUserId;

	/**
	 * 修改时间
	 */
	@TableField(value = "UPDATE_TIME")
	private Date updateTime;

	/**
	 * 备注
	 */
	@TableField(value = "MEMO")
	private String memo;
	/**
	 * 是否删除：是1；否0
	 */
	@TableField(value = "IS_DELETE")
	private Boolean deleteFlag;

}
